package com.log.demo.controller;

import com.demo.starter.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: ganbo
 * @Date: 2019/12/23 15:06
 */

@RestController
public class HelloController {


    @Autowired
    HelloService helloService;


    @GetMapping("/hello")
    public String hello() {
        return helloService.say();
    }

}
